package be.jhd.repository.nexus;

import be.jhd.repository.Artifact;

public class RepositoryResolver {

	public static final String RELEASES = "releases";
	public static final String SNAPSHOTS = "snapshots";
	
	public String findRepository(Artifact artifact){
		
		if(artifact.isSnapshot()){
			return SNAPSHOTS;
		}else{
			return RELEASES;
		}
	}
	
}
